#ifndef _EXTERNAL_NCLOG_H_
#define _EXTERNAL_NCLOG_H_

namespace Debug
{
	class ncLog
	{
	public:
		inline static bool set_nclog_port(unsigned short x) { return wsa_bind(x); }

		static bool wsa_bind(unsigned short port) ;
		static bool wsa_init();
		static void wsa_send(const char *x);
		static void log (const wchar_t *fmt, ...);
		static void log (const char *fmt, ...);

	private:
		static void Error();
	};
};

#endif